package com.aaa.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * Table: ums_member
 */
@Data
public class UmsMember implements Serializable {
    /**
     * Table:     ums_member
     * Column:    id
     * Nullable:  false
     */
    private Long id;

    /**
     * Table:     ums_member
     * Column:    shop_id
     * Nullable:  true
     */
    private Long shopId;

    /**
     * Table:     ums_member
     * Column:    member_level_id
     * Nullable:  true
     */
    private Long memberLevelId;

    /**
     * 用户名
     *
     * Table:     ums_member
     * Column:    username
     * Nullable:  true
     */
    private String username;

    /**
     * 密码
     *
     * Table:     ums_member
     * Column:    password
     * Nullable:  true
     */
    private String password;

    /**
     * 昵称
     *
     * Table:     ums_member
     * Column:    nickname
     * Nullable:  true
     */
    private String nickname;

    /**
     * 手机号码
     *
     * Table:     ums_member
     * Column:    phone
     * Nullable:  true
     */
    private String phone;

    /**
     * 帐号启用状态:0->禁用；1->启用
     *
     * Table:     ums_member
     * Column:    status
     * Nullable:  true
     */
    private Integer status;

    /**
     * 注册时间
     *
     * Table:     ums_member
     * Column:    create_time
     * Nullable:  true
     */
    private Date createTime;

    /**
     * 头像
     *
     * Table:     ums_member
     * Column:    icon
     * Nullable:  true
     */
    private String icon;

    /**
     * 性别：0->未知；1->男；2->女
     *
     * Table:     ums_member
     * Column:    gender
     * Nullable:  true
     */
    private Integer gender;

    /**
     * 生日
     *
     * Table:     ums_member
     * Column:    birthday
     * Nullable:  true
     */
    private Date birthday;

    /**
     * 所做城市
     *
     * Table:     ums_member
     * Column:    city
     * Nullable:  true
     */
    private String city;

    /**
     * 职业
     *
     * Table:     ums_member
     * Column:    job
     * Nullable:  true
     */
    private String job;

    /**
     * 个性签名
     *
     * Table:     ums_member
     * Column:    personalized_signature
     * Nullable:  true
     */
    private String personalizedSignature;

    /**
     * 用户来源
     *
     * Table:     ums_member
     * Column:    source_type
     * Nullable:  true
     */
    private Integer sourceType;

    /**
     * 积分
     *
     * Table:     ums_member
     * Column:    integration
     * Nullable:  true
     */
    private Integer integration;

    /**
     * 成长值
     *
     * Table:     ums_member
     * Column:    growth
     * Nullable:  true
     */
    private Integer growth;

    /**
     * 剩余抽奖次数
     *
     * Table:     ums_member
     * Column:    luckey_count
     * Nullable:  true
     */
    private Integer luckeyCount;

    /**
     * 历史积分数量
     *
     * Table:     ums_member
     * Column:    history_integration
     * Nullable:  true
     */
    private Integer historyIntegration;

    /**
     * Table:     ums_member
     * Column:    parent_id
     * Nullable:  true
     */
    private Long parentId;

    /**
     * 微信返回的open_id
     *
     * Table:     ums_member
     * Column:    open_id
     * Nullable:  true
     */
    private String openId;

    /**
     * 微信返回的session_key
     *
     * Table:     ums_member
     * Column:    session_key
     * Nullable:  true
     */
    private String sessionKey;

    /**
     * 登录验证token
     *
     * Table:     ums_member
     * Column:    token
     * Nullable:  true
     */
    private String token;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table ums_member
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;
}